package com.intel.two.pojo.community;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Security {
    private Integer security_id;   //id
    private String security_name;  //姓名
    private String security_sex;   //性别

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date security_birthday;   //生日
    private String security_phone;    //电话
    private String security_address;  //地址


}
